SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4a036a686efa3c1e25eae42418fea23edf407a50eede2e0ad3c4068cf274b2e' 
  AND token = 'i6swEoax09ix5U7fM1/hFIlwi874bnYjm2Ee8g9JFRY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00059

JSON explain

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