SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4a74ca33028713395642651e4cf8343382a294be283a824d01cdf0c05d35a251' 
  AND token = 'qTRPetOr6337KFpvwthyxJ+YCTOsMLYj0QpPH2nvrfc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00054

JSON explain

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