SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b2872a7871e67c765c00bd80f9b5aa8e9b15c103e5fe8e0eaf19f6e7a10ea38b' 
  AND token = 'o5QUHk/t9g8xnJx3HWRJZ7/8cgIB+xkWaq4QFAEzoWY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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