SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '771df886d14f5c0244b5ab0f4972c340a6f873985eaf9cc9bdfcb19da190b062' 
  AND token = '9nJ3H1AiIGImR/W03GXIygIN+JSp+osPdljFQSm3tgM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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