SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31daba150f638e83963457e0478644b2e6540fb847e41bd8b1daf16b2c722ff8' 
  AND token = '3x1p+nUKWCHcGuvXQ4eEZ3TEdI0EwSdF14RGpHC1ELc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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