SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12b90f1b05faba293a1910a43b3cafec50e5517c6baaa9d60839a91e2531cc18' 
  AND token = 'jrGk2M2wQBJb6crSS54g1daDttJorUdmo2t5N97ma9w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00055

JSON explain

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