SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a010e8887d2d83e72ac87395565b587e42a0d087a400dba45adfa556d91b168' 
  AND token = '+W1THEVHxEubWn+gpKWK+3AfGWVNj8WVy519OH/FT24=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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