SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e01a7861977fb4ded0cbe99830e3fdc37fa9baddb50b9988ab7baa9e57e74140' 
  AND token = 'X06Bh6r/Sqf0G7R7Tw+wQ2D51WZlEysaJmxiwhSYiSU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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