SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40d8946079a66ed4915962234767d38928e6925b236b67964851cfb1ae7ad4b9' 
  AND token = 'OZN/iKLsKRE94B+WAYUI4p0Xn71pjenWkcrJ+d4cwHs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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