SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '07fcae789a0edee152861ce1d77ff7de371c1b4495a029d74694707d1435f102' 
  AND token = 'X5EhzOBELz/ZqpuuL5XzbVB2y+8Ya/WQjL5C31PBYB8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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