SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50b8a2db954e4c1d51140c1d47e682a01c0a0cc0ce65cdc239a281f5c12f4c6b' 
  AND token = 'fOpSlnQDcZYSDNBvTc6zeDDZYgMAT9iCXZOM3OOl/Q4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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