SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1034874bf16fd30b89bb6ff44485d72ad74f02d75322c3eb318252cb5aca3d97' 
  AND token = '2OoHt9HL3StFT1POWxe+4ZvyJ1WfBId4p3okYXraAJI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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