SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c2fd73237682630ebe2c8cd2e381615599564616a5fee9638843ef88f47b2860' 
  AND token = 'w1NeEFoSZua9hqvHNBxIAKf48AeDjllbwCTkdCctBL4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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