SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1238d5790c12b5e6b38fa3178943d7c5dcfc2e5394d8f67ea7af86b46e5a51fc' 
  AND token = '1A3+9+yDmxz6pCTQq7RDGEPOa4JGjmE6D7cJJcg9vjg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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