SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '18b0442aa61b0e5e5112da192ade9bc42c5bd9ef72a8a710d29f2537f411a866' 
  AND token = 'imIY49wHJXHtPFeKZswia9JeQwxiap2oJz7saWHgpC8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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