SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4c4bb68112af9390ed131d3319d1851d3060a65ef4957ef5b5ebb6c3e780c766' 
  AND token = 'v8Rb9Dlk/oWLV97rLLmQs8lCWvBx8zD5hi8EbFk3dKc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}