SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '501885cea4b515b7124a2a39ad1cbf46bef13b2fa785f5a63297f57038ecb70c' 
  AND token = 'yqYv9tJVV45IQmyJm0wxkPdVrNA05rDFpebY/nADFQ4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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