SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17be8b0572b44bb789358935eaa69615091ea08c3aef238973bb0446280a1f5f' 
  AND token = '4pKXEzK4uWVA0O5x24Qs2iLQqlXOZZjOG0c4nDf8TQk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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