SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f5e2b9e4dff18b2b8744a8c28b8b34fd48f9593a445c0fb0555b8bcd516f11d3' 
  AND token = 'cRBY90bSwn8Fs9nQiQjV0bbibZJCXSA/LJ9i+iSp1n4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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