SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38440592afa7c0f3bb1d4cddd949ee5e1e0985512b8f994b095ef87377d34019' 
  AND token = 'G4iRB7kDvLAAjN4mXRIsWQ0gDAEeNwSnd9d4ECcDRHw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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